package com.ccsu.mymarket.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "sys_catagory",excludeProperty = "children")
public class Catagory{
    private Integer id;
    private String catagName;
    private Integer cataType;
    private Integer parentCatag;
    private String description;

    private List<Catagory> children;
}
